using System;
using System.Collections.Generic;
using System.Text;
using sbMembership.Library.Presenters;
using sbMembership.Library.Presenters.ViewInterfaces;

namespace Tests.sbMembership.AssignRolesToUser
{
    class MockAssignRolesToUserView : IAssignRolesToUserView
    {
        #region IAssignRolesToUserView Members

        private string message;
        public string Message
        {
            set { message = value; }
            get { return message; }
        }

        private string userToAssign;
        public string UserToAssign
        {
            get
            {
                return userToAssign;
            }
            set
            {
                userToAssign = value;
            }
        }

        private string[] availableRoles;
        public string[] AvailableRoles
        {
            set { availableRoles = value; }
            get { return availableRoles; }
        }

        private string[] assignedRoles;
        public string[] AssignedRoles
        {
            set { assignedRoles = value; }
            get { return assignedRoles; }
        }

        private AssignRolesToUserPresenter presenter;
        public void AttachPresenter(AssignRolesToUserPresenter presenter)
        {
            this.presenter = presenter;
        }

        #endregion
    }
}
